﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;

namespace BLL.EntitiesBLL
{
    public class LophocBLL : DAL.BaseDAL
    {
        DAL.EntitesDAL.LophocDAL _dal = new DAL.EntitesDAL.LophocDAL();

        public bool CheckRegister(string id1, string id2)
        {
            DataTable tmp = _dal.Select_TestRegister(id1, id2);
            int _conlai = Convert.ToInt32(tmp.Rows[0]["Conlai"]);

            if (_conlai == 0)
                return false;
            return true;
        }
       
    }
}
